<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>后台博客管理登录</title>
    <link rel="stylesheet" href="../css/Element-ui.css" />
  </head>
  <style>
    body {
      margin: 0;
      background-image: url(./img/bg.jpeg);
      background-size: cover;
      font-family: "Microsoft Yahei";
    }
    .el-form-item__label {
      text-align: right;
      vertical-align: middle;
      float: left;
      font-size: 14px;
      color: white;
      line-height: 40px;
      padding: 0 12px 0 0;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
    }
  </style>
  <body>
    <div id="app">
      <div
        style="
          margin: 0 auto;
          margin-top: 200px;
          height: 400px;
          width: 600px;
          border-radius: 10px;
          background: rgba(255, 255, 255, 0.4);
          backdrop-filter: blur(10px);
        "
      >
        <img
          src="./img/weibo.jpg"
          alt="logo"
          style="width: 200px; margin-left: 200px"
        />
        <p style="text-align: center; font-size: 20px">
          新浪微博博客后台管理系统
        </p>
        <el-form label-width="100px" style="margin-left: 70px">
          <el-form-item label="用户名">
            <el-input
              placeholder="请输入用户名"
              v-model="user.username"
              maxlength="18"
              style="width: 300px"
            ></el-input>
          </el-form-item>
          <el-form-item label="密码">
            <el-input
              placeholder="请输入密码"
              v-model="password"
              maxlength="18"
              style="width: 300px"
            ></el-input>
          </el-form-item>
          <el-form-item label="重复密码">
            <el-input
              placeholder="请输入密码"
              v-model="user.password"
              maxlength="18"
              style="width: 300px"
            ></el-input>
          </el-form-item>
          <el-button>登录</el-button>
        </el-form>
      </div>
    </div>
  </body>
  <script src="../js/axios.min.js"></script>
  <script src="../js/vue.min.js"></script>
  <script src="../js/Element-ui.min.js"></script>
  <script>
    let v = new Vue({
      el: "#app",
      data: function () {
        return {
          user: {
            username: "",
            password: "",
          },
          password: "",
        };
      },
      methods: {},
      created: {},
    });
  </script>
</html>
